<?php

require_once 'Classes/View/Pages/ListElementsPage.php';
require_once 'Classes/Model/ArticleModel.php';
require_once 'Classes/Model/HTTPRequestModel.php';


$articles = ArticleModel::getInstance()->getAllArticles();


$title = HTTPRequestModel::getInstance()->extractGETValue("subFamily");
$page = new ListElementsPage($title);
$page->addCSS('Ressources/style.css');
$page->addElement($articles);
$page->display();


?>
